<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class LIST_Parser</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class LIST_Parser</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">CI Smarty</p>
<p class="description"><p>Smarty templating for Codeigniter</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Dwayne Charrington</li>
				<li><span class="field">version:</span> 2.0</li>
				<li><span class="field">copyright:</span> Copyright (c) 2012 Dwayne Charrington and Github contributors</li>
				<li><span class="field">link:</span> <a href="http://ilikekillnerds.com">http://ilikekillnerds.com</a></li>
				<li><span class="field">license:</span> <a href="http://www.apache.org/licenses/LICENSE-2.0.html">http://www.apache.org/licenses/LICENSE-2.0.html</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_libraries---LIST_Parser.php.html">/libraries/LIST_Parser.php</a> (line <span class="field"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a16">16</a></span>)
		</p>
		
				
		<pre>CI_Parser
   |
   --LIST_Parser</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$CI" title="details" class="var-name">$CI</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$css_files" title="details" class="var-name">$css_files</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$js_files" title="details" class="var-name">$js_files</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_current_path" title="details" class="var-name">$_current_path</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_module" title="details" class="var-name">$_module</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_template_locations" title="details" class="var-name">$_template_locations</a>
				</div>
																<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$_theme_name" title="details" class="var-name">$_theme_name</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																																																																																																																												
												<div class="method-definition">
											<span class="method-result">LIST_Parser</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#add_css_file" title="details" class="method-name">add_css_file</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#add_js_file" title="details" class="method-name">add_js_file</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear_css_files" title="details" class="method-name">clear_css_files</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#clear_js_files" title="details" class="method-name">clear_js_files</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#css" title="details" class="method-name">css</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#current_module" title="details" class="method-name">current_module</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#get_theme" title="details" class="method-name">get_theme</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#img" title="details" class="method-name">img</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#js" title="details" class="method-name">js</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#parse" title="details" class="method-name">parse</a>
											(<span class="var-type">$template</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">$return</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">$caching</span>&nbsp;<span class="var-name">$caching</span> = <span class="var-default">TRUE</span>], [<span class="var-type">$theme</span>&nbsp;<span class="var-name">$theme</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#parse_string" title="details" class="method-name">parse_string</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$is_include</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#set_theme" title="details" class="method-name">set_theme</a>
											(<span class="var-type">$name</span>&nbsp;<span class="var-name">$name</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#string_parse" title="details" class="method-name">string_parse</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$is_include</span> = <span class="var-default">FALSE</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#theme_url" title="details" class="method-name">theme_url</a>
											([<span class="var-type">$location</span>&nbsp;<span class="var-name">$location</span> = <span class="var-default">''</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_add_paths" title="details" class="method-name">_add_paths</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">string</span>
										<a href="#_find_view" title="details" class="method-name">_find_view</a>
											(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_update_theme_paths" title="details" class="method-name">_update_theme_paths</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">mixed</span>
										<a href="#__call" title="details" class="method-name">__call</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">$method</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">array()</span>])
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$CI" id="$CI"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$CI</span>
						(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a18">18</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$css_files" id="$css_files"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$css_files</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a29">29</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$js_files" id="$js_files"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$js_files</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a30">30</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_current_path" id="$_current_path"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_current_path</span>
			 = <span class="var-default"> NULL</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a24">24</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_module" id="$_module"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_module</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a20">20</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_template_locations" id="$_template_locations"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_template_locations</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a21">21</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
<a name="var$_theme_name" id="$_theme_name"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$_theme_name</span>
			 = <span class="var-default"> ''</span>			(line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a27">27</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a32">32</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">LIST_Parser</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodadd_css_file" id="add_css_file"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">add_css_file</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a213">213</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add CSS file to list of files attached to template</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			add_css_file
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodadd_js_file" id="add_js_file"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">add_js_file</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a236">236</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add JS file to list of files attached to template</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			add_js_file
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodclear_css_files" id="clear_css_files"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">clear_css_files</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a254">254</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clear the list of CSS files attached to template</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear_css_files
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodclear_js_files" id="clear_js_files"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">clear_js_files</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a261">261</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Clear the list of JS files attached to template</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			clear_js_files
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodcss" id="css"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">css</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a274">274</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">CSS</p>
<p class="description"><p>An asset function that returns a CSS stylesheet</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			css
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodcurrent_module" id="current_module"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">current_module</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a127">127</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Current Module</p>
<p class="description"><p>Just a fancier way of getting the current module  if we have support for modules</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			current_module
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodget_theme" id="get_theme"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">get_theme</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a113">113</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Get Theme</p>
<p class="description"><p>Does what the function name implies: gets the name of  the currently in use theme.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			get_theme
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodimg" id="img"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">img</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a320">320</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">IMG</p>
<p class="description"><p>An asset function that returns an image tag</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			img
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodjs" id="js"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">js</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a298">298</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">JS</p>
<p class="description"><p>An asset function that returns a script embed tag</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			js
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$attributes</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$attributes</span>			</li>
				</ul>
		
			
	</div>
<a name="methodparse" id="parse"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">parse</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a154">154</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parse</p>
<p class="description"><p>Parses a template using Smarty 3 engine</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			parse
		</span>
					(<span class="var-type">$template</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">$data</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">$return</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">$caching</span>&nbsp;<span class="var-name">$caching</span> = <span class="var-default">TRUE</span>], [<span class="var-type">$theme</span>&nbsp;<span class="var-name">$theme</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$template</span>
				<span class="var-name">$template</span>			</li>
					<li>
				<span class="var-type">$data</span>
				<span class="var-name">$data</span>			</li>
					<li>
				<span class="var-type">$return</span>
				<span class="var-name">$return</span>			</li>
					<li>
				<span class="var-type">$caching</span>
				<span class="var-name">$caching</span>			</li>
					<li>
				<span class="var-type">$theme</span>
				<span class="var-name">$theme</span>			</li>
				</ul>
		
			
	</div>
<a name="methodparse_string" id="parse_string"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">parse_string</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a462">462</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Parse String</p>
<p class="description"><p>Parses a string using Smarty 3. Never understood why there  was two identical functions in Codeigniter that did the same.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			parse_string
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$is_include</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$template</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$data</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$return</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$is_include</span>			</li>
				</ul>
		
			
	</div>
<a name="methodset_theme" id="set_theme"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">set_theme</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a80">80</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Set Theme</p>
<p class="description"><p>Set the theme to use</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			set_theme
		</span>
					(<span class="var-type">$name</span>&nbsp;<span class="var-name">$name</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$name</span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
			
	</div>
<a name="methodstring_parse" id="string_parse"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">string_parse</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a445">445</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">String Parse</p>
<p class="description"><p>Parses a string using Smarty 3</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			string_parse
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$template</span>, [<span class="var-type">array</span>&nbsp;<span class="var-name">$data</span> = <span class="var-default">array()</span>], [<span class="var-type">boolean</span>&nbsp;<span class="var-name">$return</span> = <span class="var-default">FALSE</span>], [<span class="var-type">mixed</span>&nbsp;<span class="var-name">$is_include</span> = <span class="var-default">FALSE</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$template</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$data</span>			</li>
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$return</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$is_include</span>			</li>
				</ul>
		
			
	</div>
<a name="methodtheme_url" id="theme_url"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">theme_url</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a344">344</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Theme URL</p>
<p class="description"><p>A web friendly URL for determining the current  theme root location.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			theme_url
		</span>
					([<span class="var-type">$location</span>&nbsp;<span class="var-name">$location</span> = <span class="var-default">''</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$location</span>
				<span class="var-name">$location</span>			</li>
				</ul>
		
			
	</div>
<a name="method_add_paths" id="_add_paths"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_add_paths</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a401">401</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add Paths</p>
<p class="description"><p>Traverses all added template locations and adds them  to Smarty so we can extend and include view files  correctly from a slew of different locations including  modules if we support them.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_add_paths
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_find_view" id="_find_view"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_find_view</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a367">367</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Find View</p>
<p class="description"><p>Searches through module and view folders looking for your view, sir.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> The path and file found</li>
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			_find_view
		</span>
					(<span class="var-type">$file</span>&nbsp;<span class="var-name">$file</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">$file</span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
			
	</div>
<a name="method_update_theme_paths" id="_update_theme_paths"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_update_theme_paths</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a417">417</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Update Theme Paths</p>
<p class="description"><p>Adds in the required locations for themes</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_update_theme_paths
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method__call" id="__call"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__call</span> (line <span class="line-number"><a href="../__filesource/fsource_CI__librariesLIST_Parser.php.html#a63">63</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Call</p>
<p class="description"><p>able to call native Smarty methods</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			__call
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$method</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$params</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$method</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$params</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 13 Sep 2013 12:32:39 +0200 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>